package routes

import (
	"ginstart/controllers"
	"ginstart/middleware"
	"github.com/gin-gonic/gin"
)

func SetVideoRoutes(c *gin.Engine) {
	userRoutes := c.Group("/video").Use(middleware.AutoMiddleware())
	{
		userRoutes.POST("/create", controllers.CreateVideo)
	}
}
